package model;

import java.io.File;

public class Settings {
	
	public static final double	VERSION						= 9.0000d;				// player version
	
	public static final String	PLAYER_EXECUTABLE			= "dmbplayer.jar";
	
	public static final String	DMB_DOMAIN					= "http://www.digitalmarketingbox.com";
	public static final String	UPDATE_CHECKER_URL			= "http://www.digitalmarketingbox.com/webtool/playerupdate.php";
	public static final String	POST_EXCEPTION_URL			= "http://www.digitalmarketingbox.com/webtool/playerexception.php";
	public static final String	POST_PRODUCTION_URL			= "http://www.digitalmarketingbox.com/webtool/imageConvertToProduction.php";
	public static final String	UPDATE_CHECKER_URL_TOKEN	= "dmb20101512";

	public static final String 	RESOURCES_DIRECTORY 		= "resources" + File.separator;
	
	public static final String	IMAGE_DIRECTORY				= RESOURCES_DIRECTORY + "images" + File.separator;
	public static final String	VIDEO_DIRECTORY				= RESOURCES_DIRECTORY + "videos" + File.separator;
	public static final String	BROWSER_DIRECTORY			= RESOURCES_DIRECTORY + "videos" + File.separator;
	
	public static final String	HTML_DIRECTORY				= RESOURCES_DIRECTORY + "html" + File.separator;
	public static final String	CSV_DIRECTORY				= RESOURCES_DIRECTORY + "csv" + File.separator;
	public static final String	LOG_DIRECTORY				= "logs" + File.separator;
	public static final String	XML_DIRECTORY				= RESOURCES_DIRECTORY + "xml" + File.separator;
	public static final String	CMD_DIRECTORY				= RESOURCES_DIRECTORY + "cmds" + File.separator;
	public static final String	SQL_DIRECTORY				= RESOURCES_DIRECTORY + "sql" + File.separator;
	public static final String	TEST_DIRECTORY				= RESOURCES_DIRECTORY + "test" + File.separator;
	public static final String	SCRIPT_DIRECTORY			= RESOURCES_DIRECTORY + "scripts" + File.separator;

	// xml files
	public static final String	CONTAINERS_XML				= XML_DIRECTORY + "containers.xml";
	public static final String	CONTENTS_XML				= XML_DIRECTORY + "contents.xml";
	public static final String	PLAYLISTS_XML				= XML_DIRECTORY + "playlists.xml";
	public static final String	PREFERENCES_XML				= XML_DIRECTORY + "preferences.xml";
	public static final String	COMMANDS_XML				= XML_DIRECTORY + "commands.xml";
	public static final String	INVENTORY_XML				= XML_DIRECTORY + "inventory.xml";
	public static final String 	INVENTORY_DEF_XML 			= XML_DIRECTORY + "inventory_def.xml";
	public static final String	FEATURE_DEF_XML				= XML_DIRECTORY + "feature_def.xml";
	public static final String	FEATURE_DEF_XML_TEST		= XML_DIRECTORY + "feature_def_test.xml";
	public static final String	FEATURE_XML					= XML_DIRECTORY + "feature.xml";
	public static final String	WEATHER_XML					= XML_DIRECTORY + "weather.xml";
	// csv files
	public static final String	CONTAINERS_CSV				= CSV_DIRECTORY + "container.csv";
	public static final String	CONTENTS_CSV				= CSV_DIRECTORY + "content.csv";
	public static final String	PLAYLISTS_CSV					= CSV_DIRECTORY + "playlist.csv";
	public static final String	PLAYLIST_RECORDS_CSV		= CSV_DIRECTORY + "playlist_record.csv";
	public static final String	PLAYLIST_PAGE_CSV			= CSV_DIRECTORY + "page.csv";
	public static final String	INVENTORY_CSV				= CSV_DIRECTORY + "inventory.csv";
	public static final String	INVENTORY_DEF_CSV			= CSV_DIRECTORY + "inventory_definition.csv";
	public static final String	FEATURE_DEF_CSV				= CSV_DIRECTORY + "feature_definition.csv";

	public static final String	RESOURCES_FILENAME			= "resources.zip";
	public static final String	REPLY_TO_FILENAME			= CMD_DIRECTORY+"request.sent";

	// menubox settings
	public static final String	WEBTOOL_FTP_HOST			= "ftp.digitalmarketingbox.com";
	public static final String	WEBTOOL_FTP_USERNAME		= "player@digitalmarketingbox.com";
	public static final String	WEBTOOL_FTP_PASSWORD		= "JJS6ACHF2C8T";
	// autobox ftp settings
	public static final String	AUTOBOX_FTP_HOST			= "ftp.digitalmarketingbox.com";
	public static final String	AUTOBOX_FTP_USERNAME		= "player1@digitalmarketingbox.com";
	public static final String	AUTOBOX_FTP_PASSWORD		= "JJS6ACHF2C8T";
	// real estate ftp settings
	public static final String	REAL_ESTATE_FTP_HOST		= "ftp.digitalrealestatebox.com";
	public static final String	REAL_ESTATE_FTP_USERNAME	= "player@digitalrealestatebox.com";
	public static final String	REAL_ESTATE_FTP_PASSWORD	= "JJS6ACHF2C8T";
	
	// Email setting parameters
	public static final String	SMTP_HOST					= "smtp.streetmeet.ca";
	public static final String	SMTP_PORT					= "25";
	public static final String	SMTP_USER					= "player@streetmeet.ca";
	public static final String	TO_USER						= "player@digitalmenubox.com";
	public static final String	From_USER					= "player@digitalmenubox.com";
	public static final String	SMTP_PASSWORD			= "dmbplayer";
	public static boolean isRestart = false;
	public static final String CMYKProperties			    = RESOURCES_DIRECTORY+"cmyktrack.properties";
}
